const {app, Menu, Tray, ipcMain, BrowserWindow} = require('electron')
const url = require('url')
const path = require('path')
const notify = require(path.join(__dirname + '/notification/notifyUtil.js'))

app.on('ready', () => {
  let win = new BrowserWindow({width: 800, height: 600});
  notify.notification();
  win.loadURL(url.format({
    pathname: path.join(__dirname, '/app/index.html'),
    protocol: 'file:',
    slashes: true
  }));
})